package m.olive.data.model;


import m.framework.dao.annotation.Column;
import m.framework.dao.annotation.Table;
import m.framework.dao.model.BaseModel;

@Table("数据源参数")
public class DsParamDto extends BaseModel{
	public enum ParamType {
		入参,出参
	}

	@Column(value="数据源参数Id",length=32,validate="notNull")
	private String dsParamId;
	@Column(value="数据源id",length=32)
	private String datasourceInfoId;
	@Column(value="参数类型,入参,出参",validate="notNull")
	private ParamType paramType;
	@Column(value="参数序号",validate="notNull")
	private Integer paramIndex;
	@Column(value="参数名称",length=64,validate="notNull,param")
	private String paramCode;
	@Column(value="描述",length=2000)
	private String paramDesc;
	
	public String getDsParamId(){
		return dsParamId;
	}
	public void setDsParamId(String dsParamId) {
		this.dsParamId = dsParamId;
	}
	public String getDatasourceInfoId(){
		return datasourceInfoId;
	}
	public void setDatasourceInfoId(String datasourceInfoId) {
		this.datasourceInfoId = datasourceInfoId;
	}
	public ParamType getParamType(){
		return paramType;
	}
	public void setParamType(ParamType paramType) {
		this.paramType = paramType;
	}
	public Integer getParamIndex(){
		return paramIndex;
	}
	public void setParamIndex(Integer paramIndex) {
		this.paramIndex = paramIndex;
	}
	public String getParamCode(){
		return paramCode;
	}
	public void setParamCode(String paramCode) {
		this.paramCode = paramCode;
	}
	public String getParamDesc() {
		return paramDesc;
	}
	public void setParamDesc(String paramDesc) {
		this.paramDesc = paramDesc;
	}
	
}

